<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Vue 2 + Layui 组件更新视图示例</title>
  <link rel="stylesheet" href="/LayUi/lib/css/layui.css">
  <script src="https://v2.cn.vuejs.org/js/vue.min.js"></script>
  <script src="/lib/jquery.min.js"></script>
  <script src="/LayUi/lib/layui.js"></script>
</head>
<body>
  
<div id="fmt"></div>

  <script>
    
    var o = {
        formStruct: {id: "designArea", ctrlType: "layuiForm", style: {textAlign:"",width:"",height:""}, childs: [] }
    }

    var fmStr = JSON.stringify(o);
    console.log(fmStr);

    $("#fmt").html(fmStr);
     
  </script>
</body>
</html>
